<?php
    # ADD SOME FILES
    $this->headScript()->appendFile($this->baseUrl().'/scripts/main.js');
    $this->jQuery()->addStylesheet($this->baseUrl().'/styles/ui-lightness/jquery-ui-1.8.16.custom.css');
    if($this->ckeditor)
        $this->headScript()->appendFile( $this->baseUrl().'/scripts/ckeditor/ckeditor.js');
?>
<?php echo $this->doctype(); ?>
<html>
<head>
    <?php echo $this->headMeta(); ?>
    
    <?php echo $this->headTitle(); ?>
    
    <?php echo $this->jQuery(); ?>
    
    <link href="<?php echo $this->baseUrl(); ?>/styles/index.css" media="all" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        var baseUrl = "<?php echo $this->baseUrl(); ?>";
    </script>
    <?php echo $this->headLink(); ?>
    
    <?php echo $this->headScript(); ?>
    
    <link href="<?php echo $this->baseUrl(); ?>/favicon.ico" type="image/x-icon" rel="icon">
    <link href="<?php echo $this->baseUrl(); ?>/favicon.ico" type="image/x-icon" rel="shortcut icon">
</head>
<body>
    <div id="page_wrapper">
        <header id="header">
            <div class="wrapper">
                <section id="logo">
                    <a href="<?php echo $this->baseUrl(); ?>">
                        <img src="<?php echo $this->baseUrl(); ?>/images/logo_all-e.png" />
                    </a>
                </section>
                <nav>
                    <?php echo $this->navigation()->menu(); ?>
                </nav>
                <section id="headerinfo">
                    <img src="<?php echo $this->baseUrl(); ?>/images/website.png" class="img_header_site" />
                    <h1>All-e in Brower &amp; Tablet</h1>
                    <ul>
                        <li>Follow your favourite technologies</li>
                        <li>Add books to your readinglist</li>
                        <li>Read at home or on the go</li>
                        <li>Give feedback</li>
                    </ul>
                </section>
            </div>
        </header>
        <section id="content">
            <div class="wrapper">
                <?php echo $this->layout()->content; ?>
            </div>
        </section>
    </div>
    <footer id="footer">
        <div class="wrapper">
            <section class="copyright">Copyright © 2012 All-e. All Rights Reserved. | 
                <a href="<?php echo $this->baseUrl(); ?>/index/privacy/">Privacy</a> | 
                <a href="<?php echo $this->baseUrl(); ?>/index/legal/">Legal notice</a>
            </section>
        </div>
    </footer>
</body>
</html>